#include <cstdio>
int main()
{
    signed long a;
    while (scanf("%d",&a)!=EOF){
        long sum=0;
        sum=a/2 ? (a+1)/2*a : a/2*(a+1);
        printf("%ld\n\n",sum);
    }
    return 0;
}
